package com.gdc.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * Description: Order 服务模块启动类
 *
 * | @EnableEurekaClient                        开启 Eureka 客户端注解
 * | @RibbonClient                              自定义Ribbon 规则时使用，作用的应用实例为：CLOUD-PAYMENT-SERVICE(名称需要大写)
 *                                                  自定义配置类为：MySelfRule.class
 *
 * @author: gdc
 * @date: 2021/1/31
 * @version 1.0
 */
//@RibbonClient(name = "CLOUD-PAYMENT-SERVICE", configuration = MySelfRule.class)
@EnableEurekaClient
@SpringBootApplication
public class CloudConsumerOrder80Application {

    public static void main(String[] args) {
        SpringApplication.run(CloudConsumerOrder80Application.class, args);
    }

}
